import bean.Answer;
import bean.AnswerDAO;

public class test {
    public static void main(String[] args) {
        Answer leon = new Answer();
        AnswerDAO ff = new AnswerDAO();
        leon.setContent("哈哈");
        System.out.println(ff.add(leon));
        
    }
////    public static void main(String[] args) {
//        bean.Answer leon = new bean.Answer();
//        bean.AnswerDAO ff = new bean.AnswerDAO();
//        leon.setAnswerID(1);
//        leon.setLike(5);
//        leon.setContent("你是傻子");
//        ff.add(leon);
//    }
}
